package com.mc.read.common.emun;


public enum ServiceCodeEnum {
    SUCCESS(200,"响应成功"),
    SIGN_IS_FAILURE(300,"请重新登录"),

    INFO_IS_FAIL(600, "业务参数转换异常"),
    SMS_IS_FAIL(202090,"发送短信失败，请重新发送"),

    BAD_REQUEST(10001, "缺少必要参数"),
    NO_RESULT(10002, "查询信息不存在"),
    UNKNOWN_ERROR(10003, "未知错误"),
    NO_LOGIN(-401,"未登录"),
    FAIL(500,"响应失败")
    //
    ;

    ServiceCodeEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    private int code;
    private String desc;
    private String request;

    public void setRequest(String request) {
        this.request = request;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
